// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Memory.generated.h"


USTRUCT()
struct Finfov
{
	GENERATED_USTRUCT_BODY();
	FVector loc;
	FRotator rot;
	int Name;
	Finfov(FVector v,FRotator r,int n):loc(v),rot(r),Name(n){}
	Finfov(){}
	bool operator==(const Finfov &f) {
		if (this->Name == f.Name&&this->loc.X == f.loc.X&&this->loc.Y == f.loc.Y) {
			return true;
		}
		else {
			return false;
		}
		return false;
	}
};

UCLASS()
class MYKAI_API AMemory : public AActor
{
	GENERATED_BODY()	
public:	
	// Sets default values for this actor's properties
	AMemory();
	UPROPERTY(VisibleAnywhere)
	TArray<Finfov> ActorList;
	UPROPERTY(VisibleAnywhere)
	TMap<int32, TSubclassOf<class AModelX>> ActorMap;
protected:
	// Called when the game starts or when spawned
	virtual void BeginPlay() override;

public:	
	// Called every frame
	virtual void Tick(float DeltaTime) override;

	
	
};
